package com.updesignsz.admin.vo.form;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @author Lei
 * @since 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class UserLoginForm implements Serializable {
    private static final long serialVersionUID = 1576577647796362950L;

    @NotEmpty(message = "用户名不能为空")
    private String username;

    @NotEmpty(message = "密码不能为空")
    private String password;
}
